var vue = new Vue({
    el: "#app",
    data:{
        name:"",
        dataList:[
            {name:'梁潇',value:'lx'},
            {name:'王充',value:'ch'},
            {name:'猴子',value:'hz'},
        ],
        sl:"",
    },
    mounted:function(){
        this.getData();
    },
    methods: {
        changeName: function () {
            alert(1);
        },
        tan:function () {
            alert("弹起事件");
        },
        getData:function () {
            alert("页面初始化");
        }
    }
});